package cn.cms.annotation;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SystemLogAnno {

    /**
     * 要执行操作类型.比如:add
     **/
    public String operationType() default "";

    /**
     * 要执行操作的项目名称:比如:修改用户
     */
    public String operationName() default "";

    public final static String ADD = "add";
    public final static String DEL = "del";
    public final static String UPD = "upd";
    // 细分，更新或者新增
    public final static String ADDORUPD = "addorupd";
    public final static String QRY = "qry";
    public final static String LOGIN = "login";
    public final static String LOGOUT = "logout";

}
